Security
JWTAuthorizer
Alarm body
Event types to match (e.g., "Node Connect", "Node Disconnect", "Network Error"). An empty list matches all types.
How multiple criteria (nodes, tags, types) are combined. all = all criteria must match; any = at least one must match; none = no criteria should match.
Enum:"any""all""none"
Minimum event severity level to trigger this alarm
Enum:"INFO""WARNING""ERROR""CRITICAL"
- Mock serverhttps://apidocs.trustgrid.io/_mock/v2/alarm/{uid}
- https://api.trustgrid.iohttps://api.trustgrid.io/v2/alarm/{uid}
curl -i -X PUT \
'https://apidocs.trustgrid.io/_mock/v2/alarm/{uid}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"uid": "string",
"name": "string",
"description": "string",
"enabled": true,
"internal": true,
"orgId": "string",
"channels": [
"string"
],
"types": [
"string"
],
"nodes": [
"string"
],
"tags": [
"string"
],
"operator": "any",
"tagsOperator": "any",
"threshold": "INFO",
"freetext": "string",
"expr": "string"
}'